package cn.com.headfree.entity;

import cn.com.headfree.util.FieldMeta;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gta.edu.sdk.mybatis.common.Entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 流程处理与业务数据绑定表
 * @Author wcSun
 * @Date 2021/7/12
 **/
public class TBusinessWorkflowApproveBind extends Entity implements Serializable {

    /**
     * 流程id
     */
    private String approveId;
    /**
     * 流程申请人组织id
     */
    private String orgId;
    /**
     * 流程申请人部门id
     */
    private String deptId;
    /**
     * 流程申请人名称
     */
    private String userName;
    /**
     * 流程申请人erp编号
     */
    private String erpNo;
    /**
     * 信息分类id
     */
    private String businessTypeId;
    /**
     * 信息id
     */
    private String businessId;

    /**
     * 流程状态
     */
    private Integer flowStatus;

    @FieldMeta(name="dealTime",description="提报时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date dealTime;

    @FieldMeta(name="reportingTime",description="处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date handleTime;

    public String getApproveId() {
        return approveId;
    }

    public void setApproveId(String approveId) {
        this.approveId = approveId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getErpNo() {
        return erpNo;
    }

    public void setErpNo(String erpNo) {
        this.erpNo = erpNo;
    }

    public String getBusinessTypeId() {
        return businessTypeId;
    }

    public void setBusinessTypeId(String businessTypeId) {
        this.businessTypeId = businessTypeId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public Integer getFlowStatus() {
        return flowStatus;
    }

    public void setFlowStatus(Integer flowStatus) {
        this.flowStatus = flowStatus;
    }

    public Date getDealTime() {
        return dealTime;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    public Date getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }
}
